home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / mm43s.zip / MM.DOC < prev    next >
Text File  |  1994-08-07  |  5KB  |  149 lines

  1. Memory Map (MM) v4.3S Documentation (Shareware Version)
  2. Copyright (c) 1992-1993 Andrew Powell
  3.  
  4. Features
  5. ────────
  6.  
  7.         ■ Displays DOS v5.0+ UMB Usage
  8.         ■ Displays DOS v4.0+ Sub-Segments
  9.         ■ Easy to Understand
  10.         ■ Automatically Pauses Between Pages
  11.         ■ Reports Total and Free Memory
  12.         ■ Will Run Under MS-Windows(r)
  13.         ■ Fast
  14.  
  15. ** Features on Registered Version **
  16. ────────────────────────────────────
  17.                    
  18.         ■ Displays Upper Memory Blocks
  19.         ■ Displays Device Driver Chain
  20.         ■ Displays Current Environment
  21.         ■ Displays Master Environment
  22.         ■ Displays Location of Master Environment
  23.         ■ Help Screen
  24.         ■ Automatic Configuration from Environment
  25.  
  26.  
  27. The following documentation is based on this shareware version!!
  28.  
  29. The Display
  30. ───────────
  31.  
  32.         When you run MM without any parameters you get a list of all the 
  33.         Memory Control Blocks (MCBs) and relevant information. You also get 
  34.         the amount free memory and whether UMBs are used (even if not 
  35.         displayed). The top of the display looks like this:
  36.  
  37.         Total DOS Memory  xxxK                  DOS version: m.mm
  38.         Free Memory       yyyK                  DOS 5+ UMBs: [Yes/No]
  39.  
  40.         Total DOS Memory
  41.         ────────────────
  42.  
  43.                 The total amount of Low (below 640K) memory. This field is
  44.                 usually 640K but can be lower on some IBM PS/2 models because 
  45.                 of the Extended BIOS Data Area (EBDA). This is an area of
  46.                 memory used to store some configuration infomation for the
  47.                 BIOS. This area can be as little as 1K and usually sits at
  48.                 the top of memory (This will not show up on the memory list.)
  49.  
  50.         Free Memory
  51.         ───────────
  52.  
  53.                 The largest available memory block, i.e. The largest
  54.                 executable program size. This is the maximum amount of
  55.                 memory a program can use. It is usually about 550K, but 
  56.                 with modern memory managers (like 386MAX, QEMM) the 
  57.                 amount of free memory can be about 618K.
  58.  
  59.         DOS Version
  60.         ───────────
  61.  
  62.                 The DOS version currently running. This is cannot be 
  63.                 changed by the DOS 5+ SETVER program.
  64.  
  65.         DOS 5+ UMBs
  66.         ───────────
  67.  
  68.                 Reports whether UMBs are available for use regardless
  69.                 wether the are displayed.
  70.  
  71.         PSP
  72.         ───
  73.  
  74.                 The Program Segment Prefix (PSP) that owns the MCB.
  75.                 A PSP is a 256 byte block that contains infomation
  76.                 about a program in memory.
  77.  
  78.         Size
  79.         ────
  80.  
  81.                 The size in bytes of the area that the MCB controls.
  82.  
  83.         Env.
  84.         ────
  85.  
  86.                 If this field is blank, this is not the MCB of an 
  87.                 environment.
  88.                 If this field has one box '■' in it, it is an MCB 
  89.                 that controls an environment.
  90.                 If this field has two boxes '■■' in it, it is the MCB 
  91.                 that controls the master environment. The master environment
  92.                 is the environment of the current primary command
  93.                 interpreter. This routine will fail if you load another 
  94.                 copy of COMMNAD with the /P (primary) switch. The Master
  95.                 Environment is not shown in Easy mode.
  96.                 
  97.         Owner
  98.         ─────
  99.  
  100.                 The name of the program that owns the MCB with the
  101.                 following exceptions:
  102.  
  103.                 <DOS Shell> is the command interpreter, usually COMMAND.COM
  104.                 <DOS Kernel> is MSDOS.SYS (or IBMDOS.COM)
  105.                 <Free> is a free block
  106.                 <N/A> means the name cannot be determined
  107.  
  108.         Hooked Interrupts
  109.         ─────────────────
  110.  
  111.                 This is a list of all the interrupts that point into
  112.                 the area controlled by the MCB.  
  113.  
  114.         Command Line
  115.         ────────────
  116.  
  117.                 The command line of the program as it was run.
  118.                 This is taken from the PSP. The command line might not 
  119.                 be available because DOS also puts the default DTA 
  120.                 (Disk Transfer Area) in the same place.
  121.  
  122. Return Codes
  123. ────────────
  124.  
  125.         These are numbers which can be detected by the DOS ERRORLEVEL
  126.         command. They return infomation about how the program ran.
  127.         In MM the return codes are as follows:
  128.  
  129.                 0 - The program run without any problems
  130.                 255 - Wrong DOS Version
  131.                 253 - MM was loaded high (with DOS 5+ LOADHIGH command)
  132.  
  133.         To use these codes you make a batch file with a line as follows:
  134.  
  135.                 IF ERRORLEVEL == 253 THEN GOTO ERROR
  136.  
  137.         This means that if a number of 253 OR GREATER has been returned
  138.         goto the label ERROR.
  139.         A sample batch file has been included with this program called
  140.         MMRUN.BAT
  141.  
  142. Notes
  143. ─────
  144.  
  145.         This program is compressed with LZEXE v0.91
  146.         My CompuServe address is 100330,1701
  147.  
  148. <END>
  149.